package lyxs_916.httpdemo;

import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;

import lyxs_916.http_utils.HttpUtilWebView;

/**
 * 类说明:通过webView加载网上
 * Created by 阳 on 2016/9/28
 */

public class ShowWebViewActivity extends AppCompatActivity {
    WebView webView;
    Handler handler = new Handler();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_webview);

        webView = (WebView) findViewById(R.id.webview);

        new HttpUtilWebView("http://www.imooc.com/search/?words=android", handler, webView).start();

    }


}
